package com.blb.community.controller;

import com.blb.community.service.IMSService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author 帅帅
 * @Date 2022/7/18 16:21
 * @PackageName:com.blb.community.controller
 * @ClassName: MSController
 * @Description: TODO
 * @Version 1.0
 */
@Api(tags = "短信验证")
@RestController
@RequestMapping("/ms")
public class MSController {
    @Autowired
    private IMSService imsService;

    @ApiOperation("获取短信验证码")
    @GetMapping
    public void getCode() throws Exception {
        imsService.getCode();
    }
}
